package uniandes.cupi2.sit.interfaz;

import java.awt.GridBagLayout;
import javax.swing.JPanel;
import java.awt.Dimension;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.ImageIcon;

public class panelImagen extends JPanel {

	private static final long serialVersionUID = 1L;
	private JLabel lblImagen = null;

	/**
	 * This is the default constructor
	 */
	public panelImagen() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		GridBagConstraints gridBagConstraints = new GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		lblImagen = new JLabel();
		lblImagen.setText("");
		lblImagen.setIcon(new ImageIcon("./data/imagenes/titulo.jpg"));
		lblImagen.setPreferredSize(new Dimension(1000, 150));
		this.setSize(1000, 150);
		this.setLayout(new GridBagLayout());
		this.add(lblImagen, gridBagConstraints);
	}

}
